# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file './gmailconfigform.ui'
#
# Created: Thu Apr  2 14:49:04 2009
#      by: PyQt4 UI code generator 4.4.4
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui
from PyKDE4.kdeui import *
from PyKDE4.kio import *

class Ui_Form(object):
    def setupUi(self, Form):
        Form.setObjectName("Form")
        Form.resize(455, 441)
        Form.setMinimumSize(QtCore.QSize(455, 0))
        self.gridLayout_2 = QtGui.QGridLayout(Form)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.groupBox = QtGui.QGroupBox(Form)
        self.groupBox.setObjectName("groupBox")
        self.gridLayout_3 = QtGui.QGridLayout(self.groupBox)
        self.gridLayout_3.setObjectName("gridLayout_3")
        self.gridLayout = QtGui.QGridLayout()
        self.gridLayout.setObjectName("gridLayout")
        self.listAccounts = KListWidget(self.groupBox)
        self.listAccounts.setObjectName("listAccounts")
        self.gridLayout.addWidget(self.listAccounts, 0, 0, 1, 1)
        self.verticalLayout = QtGui.QVBoxLayout()
        self.verticalLayout.setObjectName("verticalLayout")
        self.btnAdd = QtGui.QPushButton(self.groupBox)
        self.btnAdd.setObjectName("btnAdd")
        self.verticalLayout.addWidget(self.btnAdd)
        self.btnRemove = QtGui.QPushButton(self.groupBox)
        self.btnRemove.setObjectName("btnRemove")
        self.verticalLayout.addWidget(self.btnRemove)
        self.btnMoveUp = QtGui.QPushButton(self.groupBox)
        self.btnMoveUp.setObjectName("btnMoveUp")
        self.verticalLayout.addWidget(self.btnMoveUp)
        self.btnMoveDown = QtGui.QPushButton(self.groupBox)
        self.btnMoveDown.setObjectName("btnMoveDown")
        self.verticalLayout.addWidget(self.btnMoveDown)
        self.gridLayout.addLayout(self.verticalLayout, 0, 1, 1, 1)
        self.gridLayout_3.addLayout(self.gridLayout, 0, 0, 1, 1)
        self.gridLayout_2.addWidget(self.groupBox, 0, 0, 1, 1)
        self.groupBox_2 = QtGui.QGroupBox(Form)
        self.groupBox_2.setObjectName("groupBox_2")
        self.gridLayout_5 = QtGui.QGridLayout(self.groupBox_2)
        self.gridLayout_5.setObjectName("gridLayout_5")
        self.gridLayout_4 = QtGui.QGridLayout()
        self.gridLayout_4.setObjectName("gridLayout_4")
        self.label_4 = QtGui.QLabel(self.groupBox_2)
        self.label_4.setObjectName("label_4")
        self.gridLayout_4.addWidget(self.label_4, 0, 0, 1, 1)
        self.txtCommand = QtGui.QLineEdit(self.groupBox_2)
        self.txtCommand.setObjectName("txtCommand")
        self.gridLayout_4.addWidget(self.txtCommand, 0, 1, 1, 1)
        self.label_5 = QtGui.QLabel(self.groupBox_2)
        self.label_5.setObjectName("label_5")
        self.gridLayout_4.addWidget(self.label_5, 1, 0, 1, 1)
        self.label_6 = QtGui.QLabel(self.groupBox_2)
        self.label_6.setObjectName("label_6")
        self.gridLayout_4.addWidget(self.label_6, 2, 0, 1, 1)
        self.colColor = KColorCombo(self.groupBox_2)
        self.colColor.setObjectName("colColor")
        self.gridLayout_4.addWidget(self.colColor, 2, 1, 1, 1)
        self.icoIcon = KIconButton(self.groupBox_2)
        self.icoIcon.setObjectName("icoIcon")
        self.gridLayout_4.addWidget(self.icoIcon, 1, 1, 1, 1)
        self.btnCommandBrowse = QtGui.QPushButton(self.groupBox_2)
        self.btnCommandBrowse.setObjectName("btnCommandBrowse")
        self.gridLayout_4.addWidget(self.btnCommandBrowse, 0, 2, 1, 1)
        self.btnDefaultIcon = QtGui.QPushButton(self.groupBox_2)
        self.btnDefaultIcon.setObjectName("btnDefaultIcon")
        self.gridLayout_4.addWidget(self.btnDefaultIcon, 1, 2, 1, 1)
        self.gridLayout_5.addLayout(self.gridLayout_4, 2, 0, 1, 1)
        self.gridLayout_2.addWidget(self.groupBox_2, 1, 0, 1, 1)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout_2.addItem(spacerItem, 5, 0, 1, 1)
        self.groupBox_4 = QtGui.QGroupBox(Form)
        self.groupBox_4.setObjectName("groupBox_4")
        self.gridLayout_8 = QtGui.QGridLayout(self.groupBox_4)
        self.gridLayout_8.setObjectName("gridLayout_8")
        self.gridLayout_7 = QtGui.QGridLayout()
        self.gridLayout_7.setObjectName("gridLayout_7")
        self.label_3 = QtGui.QLabel(self.groupBox_4)
        self.label_3.setObjectName("label_3")
        self.gridLayout_7.addWidget(self.label_3, 0, 0, 1, 1)
        self.intPollingInterval = QtGui.QSpinBox(self.groupBox_4)
        self.intPollingInterval.setMinimum(1)
        self.intPollingInterval.setMaximum(999)
        self.intPollingInterval.setProperty("value", QtCore.QVariant(5))
        self.intPollingInterval.setObjectName("intPollingInterval")
        self.gridLayout_7.addWidget(self.intPollingInterval, 0, 1, 1, 1)
        self.gridLayout_8.addLayout(self.gridLayout_7, 0, 0, 1, 1)
        self.gridLayout_2.addWidget(self.groupBox_4, 3, 0, 1, 1)

        self.retranslateUi(Form)
        QtCore.QMetaObject.connectSlotsByName(Form)
        Form.setTabOrder(self.listAccounts, self.btnAdd)
        Form.setTabOrder(self.btnAdd, self.btnRemove)
        Form.setTabOrder(self.btnRemove, self.btnMoveUp)
        Form.setTabOrder(self.btnMoveUp, self.btnMoveDown)
        Form.setTabOrder(self.btnMoveDown, self.txtCommand)
        Form.setTabOrder(self.txtCommand, self.btnCommandBrowse)
        Form.setTabOrder(self.btnCommandBrowse, self.icoIcon)
        Form.setTabOrder(self.icoIcon, self.btnDefaultIcon)
        Form.setTabOrder(self.btnDefaultIcon, self.colColor)
        Form.setTabOrder(self.colColor, self.intPollingInterval)

    def retranslateUi(self, Form):
        Form.setWindowTitle(QtGui.QApplication.translate("Form", "gmail-plasmoid Settings", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox.setTitle(QtGui.QApplication.translate("Form", "Accounts", None, QtGui.QApplication.UnicodeUTF8))
        self.listAccounts.setToolTip(QtGui.QApplication.translate("Form", "Double-click an account to modify it", None, QtGui.QApplication.UnicodeUTF8))
        self.btnAdd.setText(QtGui.QApplication.translate("Form", "&Add", None, QtGui.QApplication.UnicodeUTF8))
        self.btnRemove.setText(QtGui.QApplication.translate("Form", "&Remove", None, QtGui.QApplication.UnicodeUTF8))
        self.btnMoveUp.setText(QtGui.QApplication.translate("Form", "Move &Up", None, QtGui.QApplication.UnicodeUTF8))
        self.btnMoveDown.setText(QtGui.QApplication.translate("Form", "Move &Down", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_2.setTitle(QtGui.QApplication.translate("Form", "Appearance", None, QtGui.QApplication.UnicodeUTF8))
        self.label_4.setText(QtGui.QApplication.translate("Form", "Command:", None, QtGui.QApplication.UnicodeUTF8))
        self.txtCommand.setToolTip(QtGui.QApplication.translate("Form", "Command to run when icon clicked (the url of the gmail account will be appended automatically)", None, QtGui.QApplication.UnicodeUTF8))
        self.label_5.setText(QtGui.QApplication.translate("Form", "Icon:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_6.setText(QtGui.QApplication.translate("Form", "Text color:", None, QtGui.QApplication.UnicodeUTF8))
        self.colColor.setToolTip(QtGui.QApplication.translate("Form", "Select the text color for the unread email indicator", None, QtGui.QApplication.UnicodeUTF8))
        self.icoIcon.setToolTip(QtGui.QApplication.translate("Form", "Select the background icon", None, QtGui.QApplication.UnicodeUTF8))
        self.btnCommandBrowse.setText(QtGui.QApplication.translate("Form", "Browse...", None, QtGui.QApplication.UnicodeUTF8))
        self.btnDefaultIcon.setText(QtGui.QApplication.translate("Form", "Default Icon", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_4.setTitle(QtGui.QApplication.translate("Form", "Misc.", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(QtGui.QApplication.translate("Form", "Polling interval:", None, QtGui.QApplication.UnicodeUTF8))
        self.intPollingInterval.setToolTip(QtGui.QApplication.translate("Form", "Polling interval in minutes", None, QtGui.QApplication.UnicodeUTF8))
